@import "common.less";
@import "../icons/iconfont.css";
@borde-color: #e9e9e9;

body,
html {
  position: relative;
  height: 100%;
  background-color: #fff;
  overflow-x: hidden;
}
.content{
  position: relative;
  z-index: 9999;
  width: 750 * @rem;
  margin: 0 auto;
}
.header {
  color: #fff;
  width: 750 * @rem;
  height: 90 * @rem;
  background-color: #16a1e0;
  margin: 0 auto;
  position: relative;
  .btnback {
    .fontSize(16px);
    position: absolute;
    top: 50%;
    left: 15 * @rem;
    transform: translateY(-50%);
    color: #fff;
  }
  h2 {
    text-align: center;
    color: #fff;
    .fontSize(16px);
    line-height: 90 * @rem;
  }
}
.zc {
  height: 100%;
  width: 750 * @rem;
  margin: 0 auto;
  background-color: #fff;
  padding-top: 90 * @rem;
}
.register-info {
  height: 100%;
  width: 656 * @rem;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
  .input-item {
    position: relative;
    height: 88 * @rem;
    width: 656 * @rem;
    line-height: 88 * @rem;
    box-sizing: border-box;
    border: 1px solid @borde-color;
    -webkit-border-radius: 8 * @rem;
    margin: 0 auto 40 * @rem;
    overflow: hidden;
    .txt {
      height: 100%;
      width: 100%;
      box-sizing: border-box;
      display: block;
      background: #ffffff;
      text-indent: 30 * @rem;
      font-family: PingFangSC-Regular;
      .fontSize(14px);
      color: #333333;
      padding: 30*@rem 0;
      box-sizing: border-box;
    }
    .errTip {
      position: absolute;
      height: 100%;
      width: 100%;
      background-color: #fff;
      top: 0;
      right: 0;
      text-align: right;
      padding-right: 15 * @rem;;
      color: red;
      display: none;
    }
    .errTip.formatter {
      width: auto;
    }
    .errTip.same {
      width: auto;
    }
  }

  input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{
    color:#ccc;
    .fontSize(14px);
  }
  .yzm {
    display: none;
    height: 88 * @rem;
    width: 670 * @rem;
    margin: 0 auto;
    margin-bottom: 40 * @rem;
    .yzm-txt {
      height: 88 * @rem;
      width: 402 * @rem;
      background: #ffffff;
      border: 2px solid #e9e9e9;
      -webkit-border-radius: 8 * @rem;
      text-indent: 30 * @rem;
      font-family: PingFangSC-Regular;
      .fontSize(14px);
      color: #333333;
      margin-bottom: 40 * @rem;
      padding: 30*@rem 0;
      box-sizing: border-box;
    }
    .yzm-img {
      width: 228 * @rem;
      height: 88 * @rem;
      img {
        width: 228 * @rem;
        height: 88 * @rem;
        display: block;
        margin: 0;
        -webkit-border-radius: 8 * @rem;
      }
    }
  }
  .verty-code.input-item {
    border: none;
  }
  .verty-code {
    height: 88 * @rem;
    width: 656 * @rem;
    margin: 0 auto;
    margin-bottom: 40 * @rem;
    overflow: visible;
    .left {
      position: relative;
      box-sizing: border-box;
      height:100%;
      border: 1px solid @borde-color;
      -webkit-border-radius: 8 * @rem;
      overflow: hidden;
    }
    .tel {
      height: 88 * @rem;
      width: 380 * @rem;
      background: #ffffff;

      -webkit-border-radius: 8 * @rem;
      text-indent: 30 * @rem;
      font-family: PingFangSC-Regular;
      .fontSize(14px);
      color: #333333;
      padding: 30*@rem 0;
      box-sizing: border-box;
    }
    .messgae-btn {
      width: 250 * @rem;
      height: 88 * @rem;
      border: 1px solid @borde-color;
      -webkit-border-radius: 8px;
      background: #fff;
      font-family: "PingFangSC-Regular";
      .fontSize(14px);
      color: #666;
      box-sizing: border-box;
      line-height: 88 * @rem;
      box-sizing: border-box;
    }
  }
  .regist-btn {
    width: 656 * @rem;
    height: 88 * @rem;
    text-align: center;
    line-height: 88 * @rem;
    margin: 0 auto;
    display: block;
    background: #16a1e0 !important;
    -webkit-border-radius: 8px;
    margin-bottom: 30 * @rem;
    font-family: PingFangSC-Regular;
    .fontSize(14px);
    color: #ffffff;
  }
  .regist-btn.unagree {
    background-color: #B3B3B3!important;
  }
  .protocol-box {
    font-family: PingFangSC-Regular;
    .fontSize(12px);
    color: #999;
    letter-spacing: 0;
    line-height: 28 * @rem;
    text-align: center;
    margin-bottom: 25 * @rem;
    a {
      color: #5194e5;
    }
    .checkbox {
      white-space: nowrap;
      cursor: pointer;
      outline: none;
      display: inline-block;
      position: relative;
      vertical-align: middle;
      position: relative;
      .checkbox__inner {
        display: inline-block;
        position: relative;
        border: 1px solid #dcdfe6;
        border-radius: 2px;
        box-sizing: border-box;
        width: 25 * @rem;
        height: 25 * @rem;
        background-color: #fff;
        z-index: 1;
        transition: border-color .25s cubic-bezier(.71, -.46, .29, 1.46), background-color .25s cubic-bezier(.71, -.46, .29, 1.46);
      }

      .checkbox__inner:after {
        box-sizing: content-box;
        content: "";
        border: 2px solid #fff;
        border-left: 0;
        border-top: 0;
        height: 12 * @rem;
        left: 8 * @rem;
        position: absolute;
        top: 1* @rem;
        transform: rotate(45deg) scaleY(0);
        width: 5 * @rem;
        transition: transform .15s ease-in .05s;
        transform-origin: center;
        z-index: 1;
      }

      .checkbox__original {
        opacity: 0;
        outline: none;
        position: absolute;
        margin: 0;
        width: 0;
        height: 0;
        z-index: -1;
      }

    }

    .checkbox.is-checked .checkbox__inner {
      background-color:  #16a1e0;
      border-color: #16a1e0;
    }

    .checkbox.is-checked .checkbox__inner:after {
      transform: rotate(45deg) scaleY(1);
    }
  }
}

.toast {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 400 * @rem;
  height: 86 * @rem;
  background: rgba(0, 0, 0, 0.8);
  -webkit-border-radius: 10px;
  text-align: center;
  font-family: PingFangSC-Regular;
  .fontSize(13px);
  color: #ffffff;
  letter-spacing: 0;
  line-height: 86 * @rem;
  z-index: 20000;
}
